﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using VCC.Model;
using System.Web.Mvc;
using VCC.Lib.Paging;
namespace VCC.CMS.ViewModels
{
    public class AdIndexViewModel
    {
        public IPagedList<Ad> Ads { get; set; }
        public List<State> State { get; set; }
        public List<Region> Region { get; set; }
        public List<Area> Area { get; set; }
        public List<Suburb> Suburb { get; set; }
        public IList<SelectListItem> CategoryBuiltTree { get; set; }
        //public Dictionary<object, object> AdForms = new Dictionary<object, object>();
        public Dictionary<object, object> PubStatus = new Dictionary<object, object>();
        public Dictionary<object, object> SearchFor = new Dictionary<object, object>();
        public string Keyword { get; set;}
        public int CurentStateId { get; set; }
        public int CurentRegionId { get; set; }
        public int CurentAreaId { get; set; }
        public int CurentSuburbId { get; set; }
        public int CurentCateId { get; set; }
        public int CurentSearchFor { get; set; }
        public int CurentPubStatusId { get; set; }
        public string SiteRootUrl { get; set; }

    }
    public class AdEditModel
    {
        public Ad Ad { get; set; }
        public List<State> State { get; set; }
        public List<Region> Region { get; set; }
        public List<Area> Area { get; set; }
        public List<Suburb> Suburb { get; set; }
        public List<CostType> CostTypes { get; set; }
        public IList<SelectListItem> CategoryBuiltTree { get; set; }
        public Dictionary<object, object> VIPTypes = new Dictionary<object, object>();
        public Dictionary<object, object> AdStatusList = new Dictionary<object, object>();
        public List<Gallery> Galleries { get; set;}
        public Dictionary<object, object> MailStatus = new Dictionary<object, object>();
        public string SiteRootUrl { get; set; }
    }
}
